/**
 * @file gui.h
 * @author Yao Zongyou <yaozy2010@gmail.com>
 * @date 2011-04-05
 */

#ifndef GUI_H_2011_04_05
#define GUI_H_2011_04_05

#pragma once

#define PLAYLIST_VIEW_WIDTH 300

void ControlCreate(HWND);
void WindowCreate(HWND *, LPCTSTR, LPCTSTR, DWORD, int, int, int, int, HWND, int, HINSTANCE);
void ToggleButton(HWND, bool, bool);
//void ElapsedTimeUpdate(HWND, PEFERENCE_TIME);
void TotalTimeUpdate(HWND);
void ClearTimes(HWND);
LPTSTR VolumeTextFromLong(signed long, LPTSTR);
TCHAR * GetStatusText(HWND, int);
void ChangeBackgroundColor(HWND, HBRUSH *);
BOOL CALLBACK SetChildWindowsTransparency(HWND, LPARAM);
void ChangeGuiFont(HWND, HFONT *);
BOOL CALLBACK ChangeTextColor(HWND, LPARAM);
void AdjustWindowHeight(HWND, int);
void AdjustWindowWidth(HWND, int);
HWND GetAPWindow(void);

#endif /* GUI_H_2011_04_05 */
